home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / lib / include / sun3.md / sys / RCS / exec.h,v < prev   
Encoding:
Text File  |  1991-03-30  |  2.3 KB  |  138 lines

  1. head     1.5;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ; strict;
  6. comment  @ * @;
  7.  
  8.  
  9. 1.5
  10. date     91.03.29.18.07.16;  author shirriff;  state Exp;
  11. branches ;
  12. next     1.4;
  13.  
  14. 1.4
  15. date     90.12.07.23.50.22;  author rab;  state Exp;
  16. branches ;
  17. next     1.3;
  18.  
  19. 1.3
  20. date     89.05.09.00.14.42;  author rab;  state Exp;
  21. branches ;
  22. next     1.2;
  23.  
  24. 1.2
  25. date     88.07.02.17.05.00;  author ouster;  state Exp;
  26. branches ;
  27. next     1.1;
  28.  
  29. 1.1
  30. date     88.07.02.15.41.48;  author ouster;  state Exp;
  31. branches ;
  32. next     ;
  33.  
  34.  
  35. desc
  36. @@
  37.  
  38.  
  39. 1.5
  40. log
  41. @Added dynamic linking flag.
  42. @
  43. text
  44. @/*
  45.  * Copyright (c) 1982, 1986 Regents of the University of California.
  46.  * All rights reserved.  The Berkeley software License Agreement
  47.  * specifies the terms and conditions for redistribution.
  48.  *
  49.  *    @@(#)exec.h    7.1 (Berkeley) 6/4/86
  50.  */
  51.  
  52. #ifndef _EXEC
  53. #define _EXEC
  54.  
  55. /*
  56.  * Header prepended to each a.out file.
  57.  */
  58. struct exec {
  59.     unsigned int    a_dynamic    :1;
  60.     unsigned int    a_toolversion    :7;
  61.     unsigned char    a_machtype;    /* machine type */
  62.     unsigned short    a_magic;    /* magic number */
  63.     unsigned long    a_text;        /* size of text segment */
  64.     unsigned long    a_data;        /* size of initialized data */
  65.     unsigned long    a_bss;        /* size of uninitialized data */
  66.     unsigned long    a_syms;        /* size of symbol table */
  67.     unsigned long    a_entry;    /* entry point */
  68.     unsigned long    a_trsize;    /* size of text relocation */
  69.     unsigned long    a_drsize;    /* size of data relocation */
  70. };
  71.  
  72. /*
  73.  * Magic numbers currently defined:
  74.  */
  75.  
  76. #define    OMAGIC    0407        /* old impure format */
  77. #define    NMAGIC    0410        /* read-only text */
  78. #define    ZMAGIC    0413        /* demand load format */
  79.  
  80. #define    SPRITE_ZMAGIC    0414        /* Uses Sprite pmegs */
  81. #define    UNIX_ZMAGIC    0415        /* Unix binary compatible */
  82.  
  83. /*
  84.  * Machine types currently defined.  Warning:  if you add new machine
  85.  * types or change old ones, be sure to update the information in the
  86.  * library file a.out.c.
  87.  */
  88.  
  89. #define M_68010        1
  90. #define M_68020        2
  91. #define M_SPARC         3
  92.  
  93. #endif /* _EXEC */
  94. @
  95.  
  96.  
  97. 1.4
  98. log
  99. @Unix compatibility.
  100. @
  101. text
  102. @d16 3
  103. a18 1
  104.     unsigned short    a_machtype;    /* machine type */
  105. @
  106.  
  107.  
  108. 1.3
  109. log
  110. @*** empty log message ***
  111. @
  112. text
  113. @d35 3
  114. @
  115.  
  116.  
  117. 1.2
  118. log
  119. @Better documentation.
  120. @
  121. text
  122. @d43 1
  123. d45 1
  124. a45 1
  125. #endif _EXEC
  126. @
  127.  
  128.  
  129. 1.1
  130. log
  131. @Initial revision
  132. @
  133. text
  134. @d36 3
  135. a38 1
  136.  * Machine types currently defined:
  137. @
  138.